package com.ftg.learn.framework.mvc.service;

import com.ftg.learn.framework.mvc.dao.DemoDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * @author lijiaxin
 * @version 1.0
 * @date 2023/9/18 10:10
 */

@Service
public class DemoService {

    @Autowired
    DemoDao demoDao;

    public List<Map<String,Object>> showall(){
        return demoDao.showall();
    }

}
